﻿namespace Guru.Framework.DBConnection
{
    using System;
    using System.Collections;
    using System.Data;

    public interface IConnectionOperations
    {
        DataSet GetResultSet(string query);

        DataSet GetResultSet(string query, Hashtable parameters);

        Int32 ExecuteQuery(string query);

        Int32 ExecuteQuery(string query, Hashtable parameters);

        Object ExecuteScalar(string query);

        Object ExecuteScalar(string query, Hashtable parameters);
    }
}
